package com.distributedDataBase.mapper;

import com.distributedDataBase.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProductMapper {
    @Select("select * from tbl_product")
    List<Product> findAll();

    List<Product> listAll(String name);
}
